package com.example.music.mapper;

import com.example.music.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    public List<User> getUsers();
    public User selectUserById(Long id);
    public int insertUser(User user);
    public int updateUser(User user);
    public int deleteUserById(Long id);
}
